package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.GuardrailFaultEntity;

/**
 * Created by pjn on 2017/8/15.
 */
public class GuardrailFaultDto {
    private Integer guardrailFaultId;
    private Integer guardrailId;
    private Integer guardrailCheckerId;
    private String guardrailCheckerName;
    private String guardrailCheckTime;
    private Integer guardrailCheck;
    private Integer guardrailMainCheckerId;
    private String guardrailMainCheckerName;
    private String guardrailMainCheckTime;
    private Integer guardrailMainCheck;
    private String guardrailFeedback;
    private Double guardrailMoney;
    private Integer guardrailOrgId;
    private String guardrailOrgName;
    private Integer guardrailMainOrgId;
    private String guardrailMainOrgName;
    private Integer guardrailFaultLevel;
    private String guardrailFaultPhoto;
    private Integer guardrailFaultType;
    private String guardrailFaultReason;
    private Integer guardrailFaultCreatorId;
    private String guardrailFaultCreatorName;
    private String guardrailFaultCreatorPhone;
    private String guardrailFaultTime;
    private String guardrailMileage;

    private Integer guardrailMaintainerId;
    private String guardrailMaintenancePhoto;
    private String guardrailMaintenanceContent;
    private String guardrailMaintenanceExplain;
    private Integer guardrailMaintenanceStatus;
    private String guardrailMaintenanceTime;

    private String projectNumber;
    private String guardrailProvince;
    private String guardrailCity;
    private String guardrailArea;
    private String guardrailRoadName;
    private String guardrailStartRoad;
    private String guardrailEndRoad;
    private Integer guardrailType;
    private Integer guardrailMaterial;
    private Integer guardrailColor;
    private String guardrailPhoto;
    private String guardrailInstallTime;
    private String guardrailInstallOrg;
    private Integer guardrailPeriod;
    private Integer guardrailServiceLife;
    private String guardrailRemark;
    private Integer guardrailCreatorId;
    private String guardrailCreatorName;
    private Integer guardrailModifierId;
    private Integer guardrailIsComplete;
    private Integer guardrailRegionId;
    private Integer coordinateId;

    private String longitude;
    private String latitude;

    public GuardrailFaultDto() {
    }

    public GuardrailFaultDto(Integer guardrailCheck, Integer guardrailMainCheck, Integer guardrailMaintenanceStatus) {
        this.guardrailCheck = guardrailCheck;
        this.guardrailMainCheck = guardrailMainCheck;
        this.guardrailMaintenanceStatus = guardrailMaintenanceStatus;
    }

    public GuardrailFaultDto(Integer guardrailCheck, Integer guardrailMainCheck, String guardrailFeedback, Double guardrailMoney, Integer guardrailFaultLevel, String guardrailFaultPhoto, Integer guardrailFaultType, String guardrailFaultReason, Integer guardrailFaultCreatorId, String guardrailFaultTime) {
        this.guardrailCheck = guardrailCheck;
        this.guardrailMainCheck = guardrailMainCheck;
        this.guardrailFeedback = guardrailFeedback;
        this.guardrailMoney = guardrailMoney;
        this.guardrailFaultLevel = guardrailFaultLevel;
        this.guardrailFaultPhoto = guardrailFaultPhoto;
        this.guardrailFaultType = guardrailFaultType;
        this.guardrailFaultReason = guardrailFaultReason;
        this.guardrailFaultCreatorId = guardrailFaultCreatorId;
        this.guardrailFaultTime = guardrailFaultTime;
    }

    public GuardrailFaultDto(Integer guardrailId, Integer guardrailOrgId, Integer guardrailMainOrgId, String guardrailProvince, String guardrailCity, String guardrailArea, String guardrailRoadName, String guardrailStartRoad, String guardrailEndRoad, Integer guardrailType, Integer guardrailMaterial, Integer guardrailColor, String guardrailPhoto, String guardrailInstallTime, String guardrailInstallOrg, Integer guardrailPeriod, Integer guardrailServiceLife, Integer guardrailCreatorId, Integer coordinateId, String guardrailMileage) {
        this.guardrailId = guardrailId;
        this.guardrailOrgId = guardrailOrgId;
        this.guardrailMainOrgId = guardrailMainOrgId;
        this.guardrailProvince = guardrailProvince;
        this.guardrailCity = guardrailCity;
        this.guardrailArea = guardrailArea;
        this.guardrailRoadName = guardrailRoadName;
        this.guardrailStartRoad = guardrailStartRoad;
        this.guardrailEndRoad = guardrailEndRoad;
        this.guardrailType = guardrailType;
        this.guardrailMaterial = guardrailMaterial;
        this.guardrailColor = guardrailColor;
        this.guardrailPhoto = guardrailPhoto;
        this.guardrailInstallTime = guardrailInstallTime;
        this.guardrailInstallOrg = guardrailInstallOrg;
        this.guardrailPeriod = guardrailPeriod;
        this.guardrailServiceLife = guardrailServiceLife;
        this.guardrailCreatorId = guardrailCreatorId;
        this.coordinateId = coordinateId;
        this.guardrailMileage = guardrailMileage;
    }

    public GuardrailFaultDto(Integer guardrailId, String guardrailMainCheckTime, Integer guardrailFaultLevel, String guardrailFaultPhoto, Integer guardrailFaultType, String guardrailFaultReason, String guardrailMaintenancePhoto, String guardrailMaintenanceContent, String guardrailMaintenanceExplain, String guardrailMaintenanceTime, String guardrailProvince, String guardrailCity, String guardrailArea, String guardrailRoadName, String guardrailStartRoad, String guardrailEndRoad) {
        this.guardrailId = guardrailId;
        this.guardrailMainCheckTime = guardrailMainCheckTime;
        this.guardrailFaultLevel = guardrailFaultLevel;
        this.guardrailFaultPhoto = guardrailFaultPhoto;
        this.guardrailFaultType = guardrailFaultType;
        this.guardrailFaultReason = guardrailFaultReason;
        this.guardrailMaintenancePhoto = guardrailMaintenancePhoto;
        this.guardrailMaintenanceContent = guardrailMaintenanceContent;
        this.guardrailMaintenanceExplain = guardrailMaintenanceExplain;
        this.guardrailMaintenanceTime = guardrailMaintenanceTime;
        this.guardrailProvince = guardrailProvince;
        this.guardrailCity = guardrailCity;
        this.guardrailArea = guardrailArea;
        this.guardrailRoadName = guardrailRoadName;
        this.guardrailStartRoad = guardrailStartRoad;
        this.guardrailEndRoad = guardrailEndRoad;
    }

    public GuardrailFaultDto(Integer guardrailId, String guardrailMainCheckTime, Integer guardrailFaultLevel, String guardrailFaultPhoto, Integer guardrailFaultType, String guardrailFaultReason, String guardrailMaintenancePhoto, String guardrailMaintenanceContent, String guardrailMaintenanceExplain, String guardrailMaintenanceTime, String guardrailProvince, String guardrailCity, String guardrailArea, String guardrailRoadName, String guardrailStartRoad, String guardrailEndRoad, String guardrailFeedback) {
        this.guardrailId = guardrailId;
        this.guardrailMainCheckTime = guardrailMainCheckTime;
        this.guardrailFaultLevel = guardrailFaultLevel;
        this.guardrailFaultPhoto = guardrailFaultPhoto;
        this.guardrailFaultType = guardrailFaultType;
        this.guardrailFaultReason = guardrailFaultReason;
        this.guardrailMaintenancePhoto = guardrailMaintenancePhoto;
        this.guardrailMaintenanceContent = guardrailMaintenanceContent;
        this.guardrailMaintenanceExplain = guardrailMaintenanceExplain;
        this.guardrailMaintenanceTime = guardrailMaintenanceTime;
        this.guardrailProvince = guardrailProvince;
        this.guardrailCity = guardrailCity;
        this.guardrailArea = guardrailArea;
        this.guardrailRoadName = guardrailRoadName;
        this.guardrailStartRoad = guardrailStartRoad;
        this.guardrailEndRoad = guardrailEndRoad;
        this.guardrailFeedback = guardrailFeedback;
    }

    public GuardrailFaultDto(Integer guardrailId, Integer guardrailOrgId, Integer guardrailMainOrgId, Integer guardrailFaultType) {
        this.guardrailId = guardrailId;
        this.guardrailOrgId = guardrailOrgId;
        this.guardrailMainOrgId = guardrailMainOrgId;
        this.guardrailFaultType = guardrailFaultType;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getGuardrailCreatorName() {
        return guardrailCreatorName;
    }

    public void setGuardrailCreatorName(String guardrailCreatorName) {
        this.guardrailCreatorName = guardrailCreatorName;
    }

    public Integer getGuardrailFaultId() {
        return guardrailFaultId;
    }

    public void setGuardrailFaultId(Integer guardrailFaultId) {
        this.guardrailFaultId = guardrailFaultId;
    }

    public Integer getGuardrailId() {
        return guardrailId;
    }

    public void setGuardrailId(Integer guardrailId) {
        this.guardrailId = guardrailId;
    }

    public Integer getGuardrailCheckerId() {
        return guardrailCheckerId;
    }

    public void setGuardrailCheckerId(Integer guardrailCheckerId) {
        this.guardrailCheckerId = guardrailCheckerId;
    }

    public String getGuardrailCheckerName() {
        return guardrailCheckerName;
    }

    public void setGuardrailCheckerName(String guardrailCheckerName) {
        this.guardrailCheckerName = guardrailCheckerName;
    }

    public String getGuardrailCheckTime() {
        return guardrailCheckTime;
    }

    public void setGuardrailCheckTime(String guardrailCheckTime) {
        this.guardrailCheckTime = guardrailCheckTime;
    }

    public Integer getGuardrailCheck() {
        return guardrailCheck;
    }

    public void setGuardrailCheck(Integer guardrailCheck) {
        this.guardrailCheck = guardrailCheck;
    }

    public Integer getGuardrailMainCheckerId() {
        return guardrailMainCheckerId;
    }

    public void setGuardrailMainCheckerId(Integer guardrailMainCheckerId) {
        this.guardrailMainCheckerId = guardrailMainCheckerId;
    }

    public String getGuardrailMainCheckerName() {
        return guardrailMainCheckerName;
    }

    public void setGuardrailMainCheckerName(String guardrailMainCheckerName) {
        this.guardrailMainCheckerName = guardrailMainCheckerName;
    }

    public String getGuardrailMainCheckTime() {
        return guardrailMainCheckTime;
    }

    public void setGuardrailMainCheckTime(String guardrailMainCheckTime) {
        this.guardrailMainCheckTime = guardrailMainCheckTime;
    }

    public Integer getGuardrailMainCheck() {
        return guardrailMainCheck;
    }

    public void setGuardrailMainCheck(Integer guardrailMainCheck) {
        this.guardrailMainCheck = guardrailMainCheck;
    }

    public String getGuardrailFeedback() {
        return guardrailFeedback;
    }

    public void setGuardrailFeedback(String guardrailFeedback) {
        this.guardrailFeedback = guardrailFeedback;
    }

    public Double getGuardrailMoney() {
        return guardrailMoney;
    }

    public void setGuardrailMoney(Double guardrailMoney) {
        this.guardrailMoney = guardrailMoney;
    }

    public Integer getGuardrailOrgId() {
        return guardrailOrgId;
    }

    public void setGuardrailOrgId(Integer guardrailOrgId) {
        this.guardrailOrgId = guardrailOrgId;
    }

    public String getGuardrailOrgName() {
        return guardrailOrgName;
    }

    public void setGuardrailOrgName(String guardrailOrgName) {
        this.guardrailOrgName = guardrailOrgName;
    }

    public Integer getGuardrailMainOrgId() {
        return guardrailMainOrgId;
    }

    public void setGuardrailMainOrgId(Integer guardrailMainOrgId) {
        this.guardrailMainOrgId = guardrailMainOrgId;
    }

    public String getGuardrailMainOrgName() {
        return guardrailMainOrgName;
    }

    public void setGuardrailMainOrgName(String guardrailMainOrgName) {
        this.guardrailMainOrgName = guardrailMainOrgName;
    }

    public Integer getGuardrailFaultLevel() {
        return guardrailFaultLevel;
    }

    public void setGuardrailFaultLevel(Integer guardrailFaultLevel) {
        this.guardrailFaultLevel = guardrailFaultLevel;
    }

    public String getGuardrailFaultPhoto() {
        return guardrailFaultPhoto;
    }

    public void setGuardrailFaultPhoto(String guardrailFaultPhoto) {
        this.guardrailFaultPhoto = guardrailFaultPhoto;
    }

    public Integer getGuardrailFaultType() {
        return guardrailFaultType;
    }

    public void setGuardrailFaultType(Integer guardrailFaultType) {
        this.guardrailFaultType = guardrailFaultType;
    }

    public String getGuardrailFaultReason() {
        return guardrailFaultReason;
    }

    public void setGuardrailFaultReason(String guardrailFaultReason) {
        this.guardrailFaultReason = guardrailFaultReason;
    }

    public Integer getGuardrailFaultCreatorId() {
        return guardrailFaultCreatorId;
    }

    public void setGuardrailFaultCreatorId(Integer guardrailFaultCreatorId) {
        this.guardrailFaultCreatorId = guardrailFaultCreatorId;
    }

    public String getGuardrailFaultCreatorName() {
        return guardrailFaultCreatorName;
    }

    public void setGuardrailFaultCreatorName(String guardrailFaultCreatorName) {
        this.guardrailFaultCreatorName = guardrailFaultCreatorName;
    }

    public String getGuardrailFaultCreatorPhone() {
        return guardrailFaultCreatorPhone;
    }

    public void setGuardrailFaultCreatorPhone(String guardrailFaultCreatorPhone) {
        this.guardrailFaultCreatorPhone = guardrailFaultCreatorPhone;
    }

    public String getGuardrailFaultTime() {
        return guardrailFaultTime;
    }

    public void setGuardrailFaultTime(String guardrailFaultTime) {
        this.guardrailFaultTime = guardrailFaultTime;
    }

    public Integer getGuardrailMaintainerId() {
        return guardrailMaintainerId;
    }

    public void setGuardrailMaintainerId(Integer guardrailMaintainerId) {
        this.guardrailMaintainerId = guardrailMaintainerId;
    }

    public String getGuardrailMaintenancePhoto() {
        return guardrailMaintenancePhoto;
    }

    public void setGuardrailMaintenancePhoto(String guardrailMaintenancePhoto) {
        this.guardrailMaintenancePhoto = guardrailMaintenancePhoto;
    }

    public String getGuardrailMaintenanceContent() {
        return guardrailMaintenanceContent;
    }

    public void setGuardrailMaintenanceContent(String guardrailMaintenanceContent) {
        this.guardrailMaintenanceContent = guardrailMaintenanceContent;
    }

    public String getGuardrailMaintenanceExplain() {
        return guardrailMaintenanceExplain;
    }

    public void setGuardrailMaintenanceExplain(String guardrailMaintenanceExplain) {
        this.guardrailMaintenanceExplain = guardrailMaintenanceExplain;
    }

    public Integer getGuardrailMaintenanceStatus() {
        return guardrailMaintenanceStatus;
    }

    public void setGuardrailMaintenanceStatus(Integer guardrailMaintenanceStatus) {
        this.guardrailMaintenanceStatus = guardrailMaintenanceStatus;
    }

    public String getGuardrailMaintenanceTime() {
        return guardrailMaintenanceTime;
    }

    public void setGuardrailMaintenanceTime(String guardrailMaintenanceTime) {
        this.guardrailMaintenanceTime = guardrailMaintenanceTime;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public String getGuardrailProvince() {
        return guardrailProvince;
    }

    public void setGuardrailProvince(String guardrailProvince) {
        this.guardrailProvince = guardrailProvince;
    }

    public String getGuardrailCity() {
        return guardrailCity;
    }

    public void setGuardrailCity(String guardrailCity) {
        this.guardrailCity = guardrailCity;
    }

    public String getGuardrailArea() {
        return guardrailArea;
    }

    public void setGuardrailArea(String guardrailArea) {
        this.guardrailArea = guardrailArea;
    }

    public String getGuardrailRoadName() {
        return guardrailRoadName;
    }

    public void setGuardrailRoadName(String guardrailRoadName) {
        this.guardrailRoadName = guardrailRoadName;
    }

    public String getGuardrailStartRoad() {
        return guardrailStartRoad;
    }

    public void setGuardrailStartRoad(String guardrailStartRoad) {
        this.guardrailStartRoad = guardrailStartRoad;
    }

    public String getGuardrailEndRoad() {
        return guardrailEndRoad;
    }

    public void setGuardrailEndRoad(String guardrailEndRoad) {
        this.guardrailEndRoad = guardrailEndRoad;
    }

    public Integer getGuardrailType() {
        return guardrailType;
    }

    public void setGuardrailType(Integer guardrailType) {
        this.guardrailType = guardrailType;
    }

    public Integer getGuardrailMaterial() {
        return guardrailMaterial;
    }

    public void setGuardrailMaterial(Integer guardrailMaterial) {
        this.guardrailMaterial = guardrailMaterial;
    }

    public Integer getGuardrailColor() {
        return guardrailColor;
    }

    public void setGuardrailColor(Integer guardrailColor) {
        this.guardrailColor = guardrailColor;
    }

    public String getGuardrailPhoto() {
        return guardrailPhoto;
    }

    public void setGuardrailPhoto(String guardrailPhoto) {
        this.guardrailPhoto = guardrailPhoto;
    }

    public String getGuardrailInstallTime() {
        return guardrailInstallTime;
    }

    public void setGuardrailInstallTime(String guardrailInstallTime) {
        this.guardrailInstallTime = guardrailInstallTime;
    }

    public String getGuardrailInstallOrg() {
        return guardrailInstallOrg;
    }

    public void setGuardrailInstallOrg(String guardrailInstallOrg) {
        this.guardrailInstallOrg = guardrailInstallOrg;
    }

    public Integer getGuardrailPeriod() {
        return guardrailPeriod;
    }

    public void setGuardrailPeriod(Integer guardrailPeriod) {
        this.guardrailPeriod = guardrailPeriod;
    }

    public Integer getGuardrailServiceLife() {
        return guardrailServiceLife;
    }

    public void setGuardrailServiceLife(Integer guardrailServiceLife) {
        this.guardrailServiceLife = guardrailServiceLife;
    }

    public String getGuardrailRemark() {
        return guardrailRemark;
    }

    public void setGuardrailRemark(String guardrailRemark) {
        this.guardrailRemark = guardrailRemark;
    }

    public Integer getGuardrailCreatorId() {
        return guardrailCreatorId;
    }

    public void setGuardrailCreatorId(Integer guardrailCreatorId) {
        this.guardrailCreatorId = guardrailCreatorId;
    }

    public Integer getGuardrailModifierId() {
        return guardrailModifierId;
    }

    public void setGuardrailModifierId(Integer guardrailModifierId) {
        this.guardrailModifierId = guardrailModifierId;
    }

    public Integer getGuardrailIsComplete() {
        return guardrailIsComplete;
    }

    public void setGuardrailIsComplete(Integer guardrailIsComplete) {
        this.guardrailIsComplete = guardrailIsComplete;
    }

    public Integer getGuardrailRegionId() {
        return guardrailRegionId;
    }

    public void setGuardrailRegionId(Integer guardrailRegionId) {
        this.guardrailRegionId = guardrailRegionId;
    }

    public Integer getCoordinateId() {
        return coordinateId;
    }

    public void setCoordinateId(Integer coordinateId) {
        this.coordinateId = coordinateId;
    }

    public String getGuardrailMileage() {
        return guardrailMileage;
    }

    public void setGuardrailMileage(String guardrailMileage) {
        this.guardrailMileage = guardrailMileage;
    }

    public GuardrailFaultEntity toBean() {
        GuardrailFaultEntity guardrailFaultEntity = new GuardrailFaultEntity();
        guardrailFaultEntity.setGuardrailFaultReason(guardrailFaultReason);
        guardrailFaultEntity.setGuardrailFaultType(guardrailFaultType);
        guardrailFaultEntity.setGuardrailFaultPhoto(guardrailFaultPhoto);
        guardrailFaultEntity.setGuardrailFaultLevel(guardrailFaultLevel);
        guardrailFaultEntity.setGuardrailOrgId(guardrailOrgId);
        guardrailFaultEntity.setGuardrailCheck(0);
        guardrailFaultEntity.setGuardrailMainOrgId(guardrailMainOrgId);
        guardrailFaultEntity.setGuardrailMainCheck(0);
        guardrailFaultEntity.setGuardrailId(guardrailId);
        guardrailFaultEntity.setGuardrailFaultCreatorId(guardrailFaultCreatorId);
        guardrailFaultEntity.setGuardrailFaultTime(guardrailFaultTime);
        guardrailFaultEntity.setGuardrailMoney(guardrailMoney);
        guardrailFaultEntity.setGuardrailMaintenanceStatus(0);
        return guardrailFaultEntity;
    }
}
